package main.model;

import java.util.ArrayList;
import java.util.List;

public class Identifier {
	
	private List<Identifiable> identifier_components = new ArrayList<Identifiable>();
	private String type;
	
	public Identifier(String type){
		this.type = type;
	}
	
	public void addComponent(Identifiable identifier_component){
		this.identifier_components.add(identifier_component);
	}
	
	public Identifiable getComponent(int index){
		return this.identifier_components.get(index);
	}
	
	
}
	
